package main

import (
	"fmt"
	"math/rand"
)

func getProxy() string {
	// 定义区间范围
	minNum := 10001
	maxNum := 20000

	// 生成随机数（包含上下限）
	randomNum := rand.Intn(maxNum-minNum+1) + minNum

	// 拼接代理ip
	return fmt.Sprintf("socks5h://user-sp321weaes-country-us:gDVljM64x6feY3lvt+@dc.decodo.com:%d", randomNum)
}
